<template>
    <div class="app_data">
        <div class="title">
            <h2>房屋标签词云图</h2>

        </div>
        <div class="query-c">
            <Form inline>
                <FormItem>
                    <Button type="primary" @click="handleSubmit()">更新词云</Button>
                </FormItem>
            </Form>
        </div>
        <div class="update">
            <div class="img-show">
                <img src="../assets/imgs/cloud/fuliColoud.png">
            </div>
        </div>

    </div>
</template>
<script>
import {getCiyun} from "../api";

export default {
    name: 'hello',
    data() {
        return {

        }
    },
    mounted() {
    },
    methods: {
        async handleSubmit(){
            const res = await getCiyun()
            if (res.code == 200) {
                this.$Message.success(res.info);
            } else {
                this.$Message.error(res.info);
            }
        }
    }
}

</script>
<style>
.app_data {
    width: 100%;
    height: 100%;
    background: #ffffff;
    padding: 0 200px;
    font-family: "Open Sans", sans-serif;
    color: #444;
}

.title {
    margin: 4px auto;
    padding: 30px;
    text-align: center;
}

.title h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 0;
    color: #5c768d;
}

.title span {
    font-size: 16px;
    color: #444;
    font-family: "Open Sans", sans-serif;
}

.update {
    background: #f5f9fc;
}
.img-show{
    text-align: center;
    padding: 20px;
}
</style>
